package com.pureut.order.service;

import com.pureut.order.domain.SysSupplierCoding;
import com.sale.common.mybatis.core.page.PageQuery;
import com.sale.common.mybatis.core.page.TableDataInfo;

import java.util.List;


/**
 * @Author: YSL
 * @Date: 2023/7/10 17:43
 * @Desc: 供应商类别
 */
public interface ISysSupplierCodingService {


    /**
     * 分页查询供应商类别
     * @param supplierCoding
     * @param pageQuery
     * @return
     */
    TableDataInfo<SysSupplierCoding> selectSupplierCodingList(SysSupplierCoding supplierCoding, PageQuery pageQuery);

    /**
     * 根据供应商类别id查询详情
     * @param supplierId
     * @return
     */
    SysSupplierCoding getSupplierCodingById(Long supplierId);

    /**
     * 新增供应商类别
     * @param supplierCoding
     * @return
     */
    int insertSupplierCoding(SysSupplierCoding supplierCoding);

    /**
     * 修改供应商类别
     * @param supplierCoding
     * @return
     */
    int updateSupplierCoding(SysSupplierCoding supplierCoding);

    /**
     * 删除供应商类别
     * @param idStr
     * @return
     */
    boolean deleteSupplierCoding(String idStr);

    /**
     * 获取供应商类别下拉列表
     */
    List<SysSupplierCoding> downList();
}
